package com.ruben;

import java.util.Objects;

/**
 * ruben
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/5/25 0025 20:26
 */
public class Ruben {

    private String id;

    public Ruben() {
    }

    public Ruben(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Ruben ruben = (Ruben) o;
        return Objects.equals(id, ruben.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }

    @Override
    public String toString() {
        return "Ruben{" +
                "id='" + id + '\'' +
                '}';
    }


}
